require 'open-uri'

module Dior
  module Helpers
    def component(name, &block)
      component = Component.new(name, &block)
      @registry << component
      nil
    end
  end
end